The Device Input functions are all fine and well for dealing with simple on-screen touches or getting device orientation, but sometimes you'll want your projects to detect more complex things, like being able to drag or "flick" an instance across a room. These things can be done with the Device functions, but to make things easier GameMaker Studio 2 has a complete range of Gesture Events to detect double taps, dragging, flicks, pinches and rotations, at both an instance and a global level, as well as return information about the event. The functions listed here are all designed to give you greater control over how and when these events will be triggered.
The following sections list all the different gesture
functions:
The following functions can be used to get the different values being used to calculate flicking, dragging, pinching, etc...:
The following functions can be used to set the different values being used to calculate flicking, dragging, pinching, etc...:
The following page is for the DS map that the different gesture events returns: